package cn.mes.module.mes.controller.admin.basemachineinfo.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.mes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.mes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 机台产线基础信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BaseMachineInfoPageReqVO extends PageParam {

    @Schema(description = "机台区域")
    private String machineArea;

    @Schema(description = "机台名称", example = "张三")
    private String machineName;

    @Schema(description = "机台代码")
    private String machineCode;

    @Schema(description = "机台参数")
    private String machineProperty;

    @Schema(description = "机台品牌")
    private String machineBrand;

    @Schema(description = "是否有电子秤")
    private Boolean hasWeight;

    @Schema(description = "是否用于人力排班")
    private Boolean isScheduling;

    @Schema(description = "是否是机台")
    private Boolean isMachine;

    @Schema(description = "显示顺序")
    private Integer orderNo;

    @Schema(description = "车间ID", example = "29017")
    private String workShopId;

    @Schema(description = "区域ID", example = "25712")
    private String machineAreaId;

    @Schema(description = "PLC编号", example = "26581")
    private String machinePlcId;

    @Schema(description = "项目编号", example = "8024")
    private String projectId;

    @Schema(description = "区域编号", example = "13310")
    private String regionId;

    @Schema(description = "设备状态", example = "1")
    private Integer status;

    @Schema(description = "是否在线")
    private Boolean offline;

}